package com.aaa.gs.service;

import com.aaa.common.entity.User;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @FileName: RemoteUserService
 * @Description:
 * @Author: CH
 * @CreateTime: 2025/09/17 11:14
 * @Version: 1.0.0
 */
@FeignClient(name = "SystemService",contextId = "userService",url = "http://172.16.8.81:18350")
public interface RemoteUserService {
    @GetMapping("/user/queryById")
    User queryById(@RequestParam("id") Integer id);
}
